package org.spa.modules.demo.controller;

import org.spa.common.api.vo.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.Api;

/**
 *
 */
@RestController
@RequestMapping("/demo/index")
@Api("Demo_index")
public class IndexController {

    /**
     *
     * @return
     */
    @GetMapping("/info")
    public Result<Object> info() {
		return Result.resultOK("ok");
    }
}
